package com.game.sdk.util;

import android.content.Context;

/**
 * 根据资源的名字获取其ID值
 * 
 * @author janecer
 * 
 */
public class MResource {
	public static int getIdByName(Context context, String className, String name) {
		return context.getResources().getIdentifier(name,className,context.getPackageName());
	}
}
